#	 Copyright 2012, 2012 Noel Warren

#    This file is part of MiniVistii.
#    MiniVistii is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Lesser General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    MiniVistii is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Lesser General Public License for more details.

#    You should have received a copy of the GNU Lesser General Public License
#    along with MiniVistii.  If not, see <http://www.gnu.org/licenses/>.

#Set the name of your CNC machine to match that of your postprocessor files
cnc_machine = "busellato3006"


development_mode = (__FILE__ == "(eval)")
if development_mode 
	dev_path = File.join("C:", "Users", "Noel", "git", "minivistii", "MiniVistii", "")
else
	dev_path = ""
end

#require all necessary files, obviously!
load(dev_path + ('minivistii/post/' + cnc_machine + '.rb'))
load(dev_path + 'minivistii/concepts.rb')
load(dev_path + 'minivistii/ui.rb')
load(dev_path + 'minivistii/parser.rb')
load(dev_path + 'minivistii/toolbox.rb')
load(dev_path + 'minivistii/postprocessor.rb')
puts "MiniVistii has finished loading!  Looking good!"
